package thread.synchronizedtest;

import lombok.Data;

@Data
public class Order {
    private Integer stock = 0;

    public void add(){
        stock++;
    }

    public Integer getStock(){
        return stock;
    }
}
